package com.dongdong.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @Deacription TODO
 * @Author Lenovo
 * @Date 2020/12/10 10:58
 * @Version 1.0
 **/
public class OwnPageInfo<T> implements Serializable {
    private static final long serialVersionUID = 2102021769850598692L;
    private int pageNum;
    private int pageSize;
    private int size;
    private int pages;
    private List<T> list;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public OwnPageInfo() {
    }

    public OwnPageInfo(int pageNum, int pageSize, int size, int pages, List<T> list) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.size = size;
        this.pages = pages;
        this.list = list;
    }
}
